@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');

* {
    box-sizing: border-box;
}

body {
    width: 100%;
    font-family: 'Muli', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
}

h1 {
    display: block;
    width: 600px;
    text-align: center;
    margin: 30px auto;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.faq {
    position: relative;
    padding: 30px;
    border: 1px solid #8d8d8d;
    background-color: transparent;
    margin: 15px 0;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    overflow: hidden;
    transition: all 1s linear;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -o-transition: all 1s linear;
}

.faq .faq-text {
    display: none;
}

.faq.active {
    background-color: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.16);
    transition: all 1s linear;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -o-transition: all 1s linear;

}

.faq.active::after,
.faq.active::before {
    content: '\f075';
    font-family: 'Font Awesome 5 Free';
    color: #2ecc71;
    font-size: 6.5rem;
    position: absolute;
    opacity: 0.15;
    top: 20px;
    left: 20px;
    z-index: 0;
}

.faq.active::before {
    color: #3498db;
    top: -10px;
    left: -30px;
    transform: rotateY(180deg);
}

.faq.active .faq-text {
    display: block;
    margin-top: 20px;
}

.faq h3 {
    margin: 0px;
}

.faq-toggle {
    background-color: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
    position: absolute;
    top: 30px;
    right: 30px;
    height: 30px;
    width: 30px;
}
.faq.active .faq-toggle{
    background-color: #8d8d8d;
}

.faq-toggle .fa-times {
    display: none;
}

.faq.active .fa-times{
    display: block;
    color: white;
}
.faq.active .faq-toggle .fa-chevron-down{
    display: none;
}